<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Check if there are more query results from a multiple query</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mysqli-stmt.insert-id.html">« mysqli_stmt::$insert_id</a></li>
      <li style="float: right;"><a href="mysqli-stmt.next-result.html">mysqli_stmt::next_result »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.mysqli-stmt.html">MySQLi_STMT</a></li>
    <li>Check if there are more query results from a multiple query</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="mysqli-stmt.more-results" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli_stmt::more_results</h1>
  <h1 class="refname">mysqli_stmt_more_results</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mysqli_stmt::more_results</span> -- <span class="refname">mysqli_stmt_more_results</span> &mdash; <span class="dc-title">Check if there are more query results from a multiple query</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqli-stmt.more-results-description">
  <h3 class="title">说明</h3>
  <p class="para">面向对象风格</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>mysqli_stmt::more_results</strong></span>(): <span class="type">bool</span></div>

  <p class="para rdfs-comment">过程化风格:</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>mysqli_stmt_more_results</strong></span>(<span class="methodparam"><span class="type"><a href="class.mysqli-stmt.html" class="type mysqli_stmt">mysqli_stmt</a></span> <code class="parameter">$statement</code></span>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   Checks if there are more query results from a multiple query.
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    仅可用于 <a href="book.mysqlnd.html" class="link">mysqlnd</a>。
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysqli-stmt.more-results-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    <dt>

<code class="parameter">statement</code></dt>
<dd>
<p class="para">仅以过程化样式：由
<span class="function"><a href="mysqli.stmt-init.html" class="function">mysqli_stmt_init()</a></span> 返回的 <span class="classname"><a href="class.mysqli-stmt.html" class="classname">mysqli_stmt</a></span> 对象。</p></dd>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli-stmt.more-results-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>true</code></strong> if more results exist, otherwise <strong><code>false</code></strong>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqli-stmt.more-results-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="mysqli-stmt.next-result.html" class="methodname" rel="rdfs-seeAlso">mysqli_stmt::next_result()</a> - Reads the next result from a multiple query</span></li>
    <li class="member"><span class="methodname"><a href="mysqli.multi-query.html" class="methodname" rel="rdfs-seeAlso">mysqli::multi_query()</a> - 执行查询</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>